# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo12
# Description:
# Author:       98745
# Date:         2019/3/9
#-------------------------------------------------------------------------------

import time
t1=time.time()
t2=t1+60
t3=t1+60*60
t4=t1+60*60*24
t1=time.localtime(t1)
t2=time.localtime(t2)
t3=time.localtime(t3)
t4=time.localtime(t4)
print(time.strftime('%Y-%m-%d %H:%M:%S',t1))
print(time.strftime('%Y-%m-%d %H:%M:%S',t2))
print(time.strftime('%Y-%m-%d %H:%M:%S',t3))
print(time.strftime('%Y-%m-%d %H:%M:%S',t4))